package com.solutec.tag15aufgabe;

import java.util.Comparator;

public class PersonenComparatorReverse implements Comparator<Person> {

//	new Person("Peter", "Wolf", 1990),	
//	new Person("Paul", "Hase", 2001),		
	public int compare(Person p1, Person p2) {
//		return p1.compareTo(p2) * -1;
		return p2.compareTo(p1);
	}
	
}
